package com.pengchuang.ACS.admin.boot.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pengchuang.ACS.admin.boot.entity.SysPermission;
import com.pengchuang.ACS.admin.boot.entity.SysRoleEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SysPermissionMapper extends BaseMapper<SysPermission> {

    List<SysPermission> listPermRoles();

    List<SysRoleEntity> getRolesByPermId(Long permId);
}
